import request from'@/utils/http.js'

// 获取会员信息列表
export const memberListApi=(params)=>{
    return request({
        url:'ums/backend/member/list',
        method:"GET",
        params:params,
    })
}

// 修改会员密码
export const memberRefreshPasswordApi=(id)=>{
    return request({
        url:`ums/backend/member/${id}/refreshPassword`,
        method:"POST",
    })
}

// 禁用会员信息列表
export const memberUpdateStatusApi=(data)=>{
    return request({
        url:'ums/backend/member/updateStatus',
        method:"PUT",
        data:JSON.stringify(data)
    })
}